package com.mrlee.mapper;

import com.mrlee.bean.RoleModule;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleModuleMapper {
    int insert(RoleModule record);

    int deleteByRoleId(@Param("roleId") int roleId);

    int updateRoleModule(RoleModule roleModule);
}